

package commandz.cli;

import java.util.Collection;


/**
 *  Interface for a command.
 */
public interface Command extends Identifier
{
    /**
     *  Lets this Command publish its parameters onto the given Collection.
     *
     *  @param params A (empty) collection of Parameter-objects.
     */
    void publishParameters(Collection<Parameter> params);

    /**
     *  Executes this Command.
     */
    void execute();
}
